import request from '@/utils/request'
const baseUrl = '/ap/system'
export  class BasebandApi{
    //发送指令
    static reqSendCommand(data:any){
        return request.post(`${baseUrl}/baseband_ctl`,data)
    }

    //获取基带信息
    static reqGetBasebandInfo(){
        return request.post(`${baseUrl}/get_baseband_info`)
    }

    // 切换基带
    static reqPostSwitchBaseband(data:any){
        return request.post(`${baseUrl}/baseband_switch`,data)
    }

    // 保存快捷命令
    static reqSaveQuickCommand(data:any){
        return request.post(`${baseUrl}/save_quick_command`,data)
    }
    
    //获取快捷命令
    static reqGetQuickCommand(){
        return request.post(`${baseUrl}/get_quick_command`)
    }

    // 删除快捷命令
    static reqDeleteQuickCommand(data:any){
        return request.post(`${baseUrl}/delete_quick_command`,data)
    }

    // 
}